package com.pureland.security.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * @projectName: pureland_cloud
 * @className: com.pureland.security.properties.InnerServiceProperties
 * @description: 内部服务属性类
 * @author: tong.li
 * @createTime: 2020/11/17 17:16
 * @version: v1.0
 * @copyright: 版权所有 李彤 © 2020
 */
@Data
@ConfigurationProperties(prefix = "security.inner.service")
@Configuration
public class InnerServiceProperties {

    /**
     * 安全头
     */
    private String header = "innerRest";
    /**
     * 安全请求头的值
     */
    private String headerValue = "innerFeign";
    /**
     * 白名单
     */
    private List<String> whiteLists;
}
